package com.work.dao;

import com.work.pojo.Account;

/**
 * @program: transfer
 * @description
 * @author: luffy
 * @create: 2020-06-30 15:19
 */
public interface AccountDao {
    /**
     * 根据卡号查找账户
     * @param cardNo
     * @return
     * @throws Exception
     */
    Account queryAccountByCardNo(String cardNo) throws Exception;

    /**
     * 根据卡号更新账户
     * @param account
     * @return
     * @throws Exception
     */
    int updateAccountByCardNo(Account account) throws Exception;


}
